home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip: 25 Years Anniversary
/
CHIP_25Jahre_Jubilaeum.iso
/
G DATA AddOns
/
avk10test.exe
/
NotStart
/
Autoexec.bat
next >
Wrap
DOS Batch File
|
2000-09-22
|
1KB
|
59 lines
@echo off
@REM Bootdatei fⁿr AVK Notstartdisketten
@REM Nur fuer DOS 5.0 oder hoeher
@REM
@REM Achtung ! Diese Datei muss auf beiden Disketten identisch sein.
@PROMPT $P$G
@SET DIRCMD=/OENG
@REM Parameter %CONFIG% wird eigentlich in der CONFIG.SYS Datei gesetzt.
@REM Falls diese veraendert wurde, springen wir einfach nach Opt1.
@if "%CONFIG%" =="" goto Opt1
@GOTO %CONFIG%
@goto ende
REM -------------------- Bootoption AVP starten ----------------------------
:Opt1
@REM Gets the drive of the Ram Disk and set the emvironment
@REM variable rdd.
@REM Sets the default drive to D, if GetRDD fails.
@REM GetRdd creates the btch file setrdd.bat, which sets the
@REM environment variable.
set rdd=D
xmsdsk > c:\_kvans$$.txt
getrdd
call c:\_kvans$$.bat
del c:\_kvans$$.bat
del c:\_kvans$$.txt
@REM Copy files...
@PATH %RDD%:\BOOTAVP
@SET TMP=%RDD%:\BOOTAVP
@ECHO Kopiere Dateien auf die Ramdisk...
@md %RDD%:\bootavp >nul
@copy \command.com %rdd%:\bootavp
@copy \AVP\*.* %rdd%:\bootavp
@ECHO Bitte legen Sie die Notstartdiskette 2 ein
@pause
@ECHO Kopiere Dateien auf die Ramdisk...
copy \AVP\*.* %rdd%:\bootavp
%rdd%:
cd %rdd%:\bootavp
ns_disk1
@ECHO Starte Scanner
avpdos32 *:
@goto ende
:Opt2
@ECHO Nur Command-Prompt booten
@goto ende
:ende